<?php defined( '_JEXEC') or die( 'Restricted access'); // No direct access ?>
    <div class="subhead">
        <fieldset>
            <legend>
                <h3>
                    Add new volunteer:
                </h3>
                </legend>
                    <form action="<?php echo JRoute::_('index.php?option=com_volunteer&task=addvolunteer') ;?>"
                    method="post">
                        <table border="0">
                            <tr>
                                <td>
                                    Username
                                </td>
                                <td>
                                    <input type="text" name="username" id="username" value="<?php echo $this->username;?>" />
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    Password
                                </td>
                                <td>
                                    <input type="password" name="password" id="password" />
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    Confirm password
                                </td>
                                <td>
                                    <input type="password" name="password2" id="password2" />
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    &nbsp;
                                </td>
                                <td>
                                    <input type="submit" value="Add" />
					<INPUT TYPE="BUTTON" VALUE="Cancel" ONCLICK="javascript:window.location='<?php echo JRoute::_('index.php?option=com_volunteer&view=searchvolunteer') ?>'">
                                </td>
                            </tr>
                        </table>
                    </form>
        </fieldset>
    </div>